import request from '@/utils/request'

// 安防告警 提交
export function addSafeAlarm(data) {
  return request({
    url: '/park/alarmSafety',
    method: 'post',
    data,
    isJson: true,
  })
}

// 安防告警 提交
export function addFireAlarm(data) {
  return request({
    url: '/park/alarmFire',
    method: 'post',
    data,
    isJson: true,
  })
}